﻿namespace POP.Pop3.Exceptions
{
	// This exception indicates that the user has logged in recently and
	// will not be allowed to login again until the login delay period has expired.
	// Check the parameter to the LOGIN-DELAY capability, that the server responds with when
	public class LoginDelayException : PopClientException
	{
		// Creates a LoginDelayException with the given inner exception
		public LoginDelayException(PopServerException innerException)
			: base("Login denied because of recent connection to this maildrop. Increase time between connections.", innerException)
		{ }
	}
}